package homework;

public class Test {
    public static void main(String[] args) {
        HashBucket hashBucket = new HashBucket();
        hashBucket.put(3, 3);
        hashBucket.put(7, 7);
        hashBucket.put(1, 1);
        hashBucket.put(0, 0);
        hashBucket.put(15, 15);
        hashBucket.put(11,11);
        System.out.println();
    }
    public static void main1(String[] args) {
        BinarySearchTree binarySearchTree = new BinarySearchTree();
        binarySearchTree.insert(12);
        binarySearchTree.insert(7);
        binarySearchTree.insert(15);
        binarySearchTree.insert(9);
        binarySearchTree.insert(13);
        binarySearchTree.insert(21);
        System.out.println();
        System.out.println(binarySearchTree.search(9));
        System.out.println(binarySearchTree.search(8));
        binarySearchTree.remove(15);
        System.out.println();
    }
}
